package com.ruoyi.web.controller.applet;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.HospitalSubscribeBanner;
import com.ruoyi.system.domain.HospitalSubscribeContent;
import com.ruoyi.system.service.IHospitalSubscribeContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;

/**
 * 内容Controller
 * 
 * @author ruoyi
 * @date 2025-04-24
 */
@RestController
@RequestMapping("/applet/content")
public class HospitalSubscribeContentAppletController extends BaseController
{
    @Autowired
    private IHospitalSubscribeContentService hospitalSubscribeContentService;

    /**
     * 查询内容列表
     * @response {@link HospitalSubscribeContent}
     */
    @GetMapping("/list")
    public TableDataInfo list(HospitalSubscribeContent hospitalSubscribeContent)
    {
        startPage();
        List<HospitalSubscribeContent> list = hospitalSubscribeContentService.selectHospitalSubscribeContentList(hospitalSubscribeContent);
        return getDataTable(list);
    }

}
